﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CoreFrame.Business;

namespace MarchEstate.Manager.BusinesEntity
{
    public abstract class AbstractBaseData : AbstractBusines
    {
        private string _code;

        public string Code
        {
            get { return _code; }
            set { _code = value; }
        }
        private string _name;

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        /// <summary>
        /// 代表类型  0:楼宇用途 1：房屋类型 2：户型， 3：朝向，4：房屋结构，5：房间状态 6：业主类型，7：证件类型
        /// </summary>
        /// <param name="type"></param>
        /// <returns></returns>
        public abstract List<AbstractBaseData> GetBaseDic(int type);//基础数据


        public abstract System.Data.DataTable GetBaseDicData(int type);//基础数据
        /// <summary>
        /// 统计分类
        /// </summary>
        /// <returns></returns>
        public abstract List<AbstractBaseData> GetStatItem();

        /// <summary>
        /// 区域
        /// </summary>
        /// <returns></returns>
        public abstract List<AbstractBaseData> GetAreaList();
        /// <summary>
        /// 楼宇
        /// </summary>
        /// <returns></returns>
        public abstract List<AbstractBaseData> GetBuildList(string areacode);
        
    }
}
